package gao.xaiolei.enity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.Data;

@Entity
@Table(name = "task")
@Data
public class Task extends TaskBase{


    // 任务类型：需求、测试、审核等等
    @Column(name = "TASK_TYPE")
    private Integer type;

    // 任务状态(待审核、待执行、已完成、已取消)
    @Column(name = "TASK_STATUS", nullable = false)
    private Integer status;

    // 任务优先级
    @Column(name = "TASK_PRIORITY", nullable = false)
    protected Integer priority;
}
